package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.mapper;

import java.util.List;

import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowTenantInfo;
import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowTenantInfoExample;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.tenant.FlowTenantQueryVo;
import org.apache.ibatis.annotations.Param;

public interface FlowTenantInfoDAO {
    long countByExample(FlowTenantInfoExample example);

    int deleteByExample(FlowTenantInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FlowTenantInfo record);

    int insertSelective(FlowTenantInfo record);

    List<FlowTenantInfo> selectByExample(FlowTenantInfoExample example);

    FlowTenantInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FlowTenantInfo record, @Param("example") FlowTenantInfoExample example);

    int updateByExample(@Param("record") FlowTenantInfo record, @Param("example") FlowTenantInfoExample example);

    int updateByPrimaryKeySelective(FlowTenantInfo record);

    int updateByPrimaryKey(FlowTenantInfo record);

    List<FlowTenantInfo> selectByQuery(FlowTenantQueryVo queryVo);
}